﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace PayloadTracker
{
    public partial class RawTraffic : Form
    {
        public RawTraffic()
        {
            InitializeComponent();            
        }

        public ArrayList lines = new ArrayList();
    
    

        private void RawTraffic_Load(object sender, EventArgs e)
        {
            textBox1.Lines = (string[])lines.ToArray(typeof(string));
        }
    

        public void addline(string line)
        {
            lines.Add(line);
            textBox1.Lines = (string[])lines.ToArray(typeof(string));
        }
    }
}
